package com.kaifamiao.lambda;

public class LambdaTest {
    public static void main(String[] args) {

        PrintService ps = new PrintService();

        Printer p = content ->  System.out.println( "正在打印:" + content );

        ps.print( p,"五星出东方利中国" );
    }
}
